/**
 *  ueditor完整配置项
 */

(function () {
    var URL= window.UEDITOR_HOME_URL||WEBURLPATH+'/editor/';
    /**
     * 配置项主体。注意，此处所有涉及到路径的配置别遗漏URL变量。
     */
    window.UEDITOR_CONFIG = {

        //为编辑器实例添加一个路径，这个不能被注释
        UEDITOR_HOME_URL : URL

        //图片上传配置区
        ,imageUrl:URL+"imageUp.php"             //图片上传提交地址
        ,imagePath: WEBIMGURL                     //图片修正地址，引用了fixedImagePath,如有特殊需求，可自行配置

        ,toolbars:[
            ['fullscreen', 'source', '|', 'undo', 'redo', '|',
                'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch','autotypeset','blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', '|',
                'rowspacingtop', 'rowspacingbottom','lineheight','|',
				'insertimage', 'insertvideo','music', '|'],
			['paragraph', 'fontfamily', 'fontsize', '|',
                 'indent', 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|','touppercase','tolowercase','|',
                'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright','imagecenter', '|',
                'horizontal', 'spechars', '|'],
			['inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', '|',
                'preview', 'searchreplace','selectall', 'cleardoc', '|', 'pagebreak']
        ]
        //当鼠标放在工具栏上时显示的tooltip提示,留空支持自动多语言配置，否则以配置值为准
        ,labelMap:{
            'anchor':'', 'undo':''
        }

        ,initialContent:''

        ,initialFrameWidth:800  //初始化编辑器宽度,默认1000
        ,initialFrameHeight:500  //初始化编辑器高度,默认320
		,pageBreakTag:'_page_break_tag_'
		,elementPathEnabled : false
		,wordCount:false
		,maximumWords:1000000
		,sourceEditor:"textarea"

    };
})();
